function Loss   = v1_LossFunction(ParametersIn, RealMoments, MomentCovar)

SimMoments  = v1_Moments(ParametersIn);

Loss        = (RealMoments - SimMoments)' * inv(MomentCovar) * (RealMoments - SimMoments);

return
